﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SignalR_ChatRoom_Server.Model.Entities
{
    [Serializable]
    public class Users
    {
        private long iD;
        private string nickName;
        private byte[] photo;
        private DateTime createTime;
        private string password;
        private int loginID;
        private string connectionID;

        public long ID
        {
            get { return iD; }
            set { iD = value; }
        }
        public string NickName
        {
            get { return nickName; }
            set { nickName = value; }
        }
        public byte[] Photo
        {
            get { return photo; }
            set { photo = value; }
        }
        public DateTime CreateTime
        {
            get { return createTime; }
            set { createTime = value; }
        }
        public string Password
        {
            get { return password; }
            set { password = value; }
        }
        public int LoginID
        {
            get { return loginID; }
            set { loginID = value; }
        }
        public string ConnectionID
        {
            get { return connectionID; }
            set { connectionID = value; }
        }
    }
}
